package com.design03_behavioral.pattern14_template.example02;

/**
 * @ClassName Client
 * @Description TODO
 * @Author zhangjunhao
 * @DATE 2023/9/7 0:05
 */
public class Client {

    public static void main(String[] args) {
        Account account = new LoanSevenDays();
        account.handle("tom","12345");

        Account account2 = new LoanOneMonth();
        account2.handle("tom","123456");
        //账号: tom,密码: 12345
        //账户或密码错误!!
        //账号: tom,密码: 123456
        //借款周期30天,利率为10%!
        //显示利息!
    }

}
